

import * as dbchain from 'dbchain-js-lib'
import { getDBchainType } from 'dbchain-js-client/src/validate'
let dbchainModule={...dbchain};
console.log(dbchain)

export default  async () => {
    let DBchainType=await getDBchainType()
    console.log(dbchain)
    dbchainModule=dbchainModule[DBchainType]
    console.log(dbchain,DBchainType,dbchainModule[DBchainType])
    console.log(dbchainModule)
    return dbchainModule
}


